package kiwi.core.api.security;

import kiwi.core.model.user.KiWiUser;
import org.apache.amber.oauth2.common.message.OAuthResponse;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by IntelliJ IDEA.
 * User: sstroka
 * Date: 06.05.2011
 * Time: 14:31:58
 * To change this template use File | Settings | File Templates.
 */
public interface OAuthTokenIssuerService {

    public OAuthResponse constructOAuthResponse(HttpServletRequest request, KiWiUser user);

    public OAuthResponse refreshOAuthToken(String refreshToken);
}
